def launch_fuel(payload):
    fuel = payload / 5
    total = fuel
    while fuel > 1:
        fuel /= 5
        total += fuel
    return round(total, 1)


if __name__ == '__main__':
    print(launch_fuel(243))